<?php

/**
 * @author christian
 * @copyright 2011
 */

//echo "registrar ....";
//echo getcwd();
//echo basename(getcwd());
$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDOperator";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/MDItinerary/MDItineraryEditDraw.php");
include_once("$ruta/MDOperatorGeneral/CTourEditDraw.php");
include_once("$ruta/view/CDrawMenuTour.php");
include_once("$ruta/star.php");

$idTourTrack=$_GET['codigo'];

$items=array("Nuevo Tour"=>"CSmallDefinePack.php","Nuevo paquete"=>"g","Ver paquetes"=>"g","Otra"=>"g");

CDrawMenuTour::getInstance()->setMenu($items);
CDrawMenuTour::getInstance()->rigth_side_begin();//empieza lado derecho 
CDrawMenuTour::getInstance()->DrawDivAdBegin("content_area_user_title","1");echo "<h1>Destino Sur</h1>";
CDrawMenuTour::getInstance()->DrawDivAdEnd();


$action="CRegistroTrack.php";$name="formulario_registro";$method="post";$NAME="Itinerario";
MDItineraryEditDraw::getInstance()->DrawHead($action,$name,$method,$NAME);

CTourEditDraw::getInstance()->HiddenValue($idTourTrack,"idTourTrack");
	
$items = array("DateBegTrack"=>"Inicio","DateEndTrack"=>"Fin","RESTAURANT_idRest"=>"Restaurante");
MDItineraryEditDraw::getInstance()->DrawTextFillBox("Itinerario de $idTourTrack",$items, "tour_has_track", $idTourTrack );




MDItineraryEditDraw::getInstance()->DrawSubmmit("Actualizar");
MDItineraryEditDraw::getInstance()->DrawFoot();
include_once("$ruta/elements/foot.tpl");


?>


